Skip to content

Add missing arb.sql to postgres-make-concepts.sql#1976

Closed
marcofanti wants to merge 1 commit into
MIT-LCP:mainfrom
marcofanti:fix/add-arb-to-concepts-script
Closed

Add missing arb.sql to postgres-make-concepts.sql#1976
marcofanti wants to merge 1 commit into
MIT-LCP:mainfrom
marcofanti:fix/add-arb-to-concepts-script

Conversation

@marcofanti

Copy link
Copy Markdown

Summary

medication/arb.sql exists in the mimic-iv/concepts_postgres/medication/ directory but is not referenced in postgres-make-concepts.sql. As a result, mimiciv_derived.arb is never created when running the standard concepts build.

Fix

Add \i medication/arb.sql after \i medication/antibiotic.sql in the medication section of postgres-make-concepts.sql (one line, alphabetical order).

Steps to reproduce

Run postgres-make-concepts.sql and then:

SELECT COUNT(*) FROM information_schema.tables
WHERE table_schema = 'mimiciv_derived' AND table_name = 'arb';
-- returns 0

medication/arb.sql exists in the medication/ directory but was not
included in postgres-make-concepts.sql, so mimiciv_derived.arb was
never created when running the standard concepts build.
@alistairewj

Copy link
Copy Markdown
Member

thanks! apologies for not merging, I ended up fixing myself while getting the CI to work!

@alistairewj alistairewj closed this Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants